CustomEventParams

public final static CustomEventParams CustomEventParams(Document document, EventParams params, Object payload)
public final static CustomEventParams CustomEventParams(Document document, EventParams params, Object payload)

Creates a new instance of CustomEventParams with the given parameters.

Since

8.0.0

Parameters

document

The document where the event will be dispatched.

params

The parameters of the custom event.

payload

The payload of the custom event. It is converted to a JavaScript type based on the following rules: Java to JavaScript.